package com.itheima.myextends.继承案例_09;

public class Demo {
    public static void main(String[] args) {
        //1. 无参构建学生对象
        Student stu = new Student();
        stu.setSid("heima001");
        stu.setName("柳岩");
        stu.setAge("36");
        stu.setBirthday("1999-11-11");
        System.out.println(stu.show());

        //2. 带参构造创建对象
        Student stu1 = new Student("heima002","杨幂","35","1995-11-11",99.9);
        System.out.println(stu1.show());
    }
}
